package com.topinfo.etl.bean;

import com.jpx.component.model.annotation.ModelAnnotation;
import com.topinfo.component.base.bean.AbstractModel;

public class EtlDatasourceCfg extends AbstractModel {
    @ModelAnnotation(column = "ID")
    private int id;
    @ModelAnnotation(column = "CONN_NAME")
    private String connName;
    @ModelAnnotation(column = "SERVER_ADDR")
    private String serverAddr;
    @ModelAnnotation(column = "TYPE")
    private String type;
    @ModelAnnotation(column = "NAME")
    private String name;
    @ModelAnnotation(column = "PORT")
    private String port;
    @ModelAnnotation(column = "USER")
    private String user;
    @ModelAnnotation(column = "PASSWORD")
    private String password;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getConnName() {
        return connName;
    }

    public void setConnName(String connName) {
        this.connName = connName;
    }

    public String getServerAddr() {
        return serverAddr;
    }

    public void setServerAddr(String serverAddr) {
        this.serverAddr = serverAddr;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPort() {
        return port;
    }

    public void setPort(String port) {
        this.port = port;
    }

    public String getUser() {
        return user;
    }

    public void setUser(String user) {
        this.user = user;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
